import request from '@/utils/request'

/**
 * 获取职称列表
 */
export function getJobTitleList (data) {
    return request({
        url: '/MRMS/api/ProfessorTitle/Page',
        method: 'post',
        data
    })
}

/**
 * 添加职称
 */
export function addJobTitle (data) {
    return request({
        url: '/MRMS/api/ProfessorTitle/Add',
        method: 'post',
        data
    })
}

/**
 * 编辑职称
 */
export function editJobTitle (data) {
    return request({
        url: '/MRMS/api/ProfessorTitle/Edit',
        method: 'post',
        data
    })
}

/**
 * 修改启停
 */
export function changeState (data) {
    return request({
        url: '/MRMS/api/ProfessorTitle/ChangeState',
        method: 'post',
        data
    })
}
